package com.holyant.goods.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.holyant.goods.dto.GdsBrandCatenaDto;
import com.holyant.goods.dto.GdsBrandDto;
import com.holyant.goods.dto.query.GdsBrandCatenaQueryDto;
import com.holyant.goods.dto.query.GdsBrandQueryDto;
import com.holyant.goods.entity.GdsBrandEntity;
import com.holyant.report.dto.RptInventoryChannelProportionDto;
import io.lettuce.core.dynamic.annotation.Param;

import java.util.List;

/**
 * 商品品牌Mapper接口
 * 
 * @author fkmalls
 * @date 2021-03-31
 */
public interface GdsBrandMapper extends BaseMapper<GdsBrandEntity> {
    /**
     * 查询商品品牌列表
     * 
     * @param gdsBrandQueryDto 商品品牌
     * @return 商品品牌集合
     */
    public List<GdsBrandDto> selectGdsBrandList(GdsBrandQueryDto gdsBrandQueryDto);

    /**
     * 查询品牌系列
     * @param gdsBrandCatenaQueryDto
     * @return
     */
    public List<GdsBrandCatenaDto> selectGdsBrandListForCatena(GdsBrandCatenaQueryDto gdsBrandCatenaQueryDto);

    Integer getMaxUniformCodeSerNum();


    List<RptInventoryChannelProportionDto> selectChannelProportion(@Param("status") Integer status,@Param("customsType") Integer customsType);

}
